<%= render :partial => 'messages' %>

<% unless @team.nil? %>
<%= error_messages_for 'team' %>
<% end %>